package com.xyw.code.efficient_programming.lambda.cart;

/**
 * Created by xuyiwei on 2020/1/6 10:55
 * 过滤
 */
public class SkuCategoryFilter implements SkuPredicate {
    @Override
    public boolean test(Sku sku) {
        if(sku.getSkuCategory().equals(CategoryEnum.CLOTHING)){
            return true;
        }
        return false;
    }
}
